package com.service.weChatWifiLogin.exception;

/**
 * @ClassName NewWifiLoginException
 * @Description TODO
 * @Author mamingcong
 * @Date 2020/5/13 15:49
 * @Version 1.0
 */
public class NewWifiLoginException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    protected final String message;

    public NewWifiLoginException(String message) {
        this.message = message;
    }

    public NewWifiLoginException(String message, Throwable e) {
        super(message, e);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
